package com.ikun.mapper;

import com.ikun.pojo.Business;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BusinessMapper {
    //查询所有的商家
    public List<Business> getAllBusinesses();
    //根据商家id查询商家
    public Business getBusinessById(Integer id);
    //根据分类id查询对应的商家
    public List<Business> getBusinessesByClassId(Integer classId);

}
